<template>
	<div id="" style="margin-left: 0.625rem;">
		<van-row>
			<van-col span="2">
				<van-icon name="arrow-left" size="32" style="margin-top: 0.8125rem;" />
			</van-col>
			<van-col span="20">
				<van-search v-model="value" shape="round" background="#fff" placeholder="请输入搜索关键词" />
			</van-col>
		</van-row>
		<van-tabs v-model="active">
		  <van-tab title="全部">
			  <AllGoods></AllGoods>
		  </van-tab>
		  <van-tab title="代付款">
			  <AgentPayment></AgentPayment>
		  </van-tab>
		  <van-tab title="代发货">
			  <Consignment></Consignment>
		  </van-tab>
		  <van-tab title="待收货">
			  <Receiving></Receiving>
		  </van-tab>
		  <van-tab title="待评价">
			  <Evaluate></Evaluate>
		  </van-tab>
		</van-tabs>
	</div>
</template>

<script>
	import AgentPayment from '../components/AllOrders/AgentPayment.vue'
	import Receiving from '../components/AllOrders/Receiving.vue'
	import Evaluate from '../components/AllOrders/Evaluate.vue'
	import Consignment from '../components/AllOrders/Consignment.vue'
	import AllGoods from '../components/AllOrders/AllGoods.vue'
	export default {
		components:{
			AgentPayment,
			Receiving,
			Evaluate,
			Consignment,
			AllGoods,
		},
		data() {
			return {
				value: '',
				active: 0,
			};
		},
		created() {
			
		}
	};
</script>

<style>
</style>
